public class Conditional_Operator {
    public static void main(String[] args) {
        //条件运算符(三目运算符)
        int a = 10;
        int b = 20;
        int c = a > b ? a : b;
        System.out.println(c);
    }
}
